Skip to content

Conversation

acdha
Copy link
Member

@acdha acdha commented Jul 9, 2018

This fixes the problem mentioned in #119 by testing for case-insensitive filename conflicts before adding the lower-cased filename to the path Set.

…ess#119)

This ensures that the test won’t flag the file it just added
for any case where the filename isn’t already lowercased.
@acdha acdha force-pushed the fix-different_case-check-ordering branch from 96ac9b5 to 6040c62 Compare July 9, 2018 15:53
@coveralls
Copy link

coveralls commented Jul 9, 2018

Coverage Status

Coverage remained the same at 98.282% when pulling 6040c62 on acdha:fix-different_case-check-ordering into 2b7002e on LibraryOfCongress:master.

@jscancella
Copy link
Contributor

We should probably add a test for the linter that should not return any warnings to catch possible errors like this again in https://github.com/LibraryOfCongress/bagit-java/blob/master/src/test/java/gov/loc/repository/bagit/conformance/BagLinterTest.java

@jscancella jscancella mentioned this pull request Aug 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants